textiter: doc precision for forward_search() and backward_search()
authorSébastien Wilmet <swilmet@gnome.org>
Sat, 29 Jun 2013 14:33:23 +0000 (16:33 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Sat, 29 Jun 2013 15:01:58 +0000 (17:01 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=703313

gtk/gtktextiter.c

index 84a0ec8336169be080692ef33e357c3dbdeefe17..9e4dfbcef615e859951d6ddcab919f0af1840ee2 100644 (file)
@@ -4859,6 +4859,9 @@ strbreakup (const char *string,
  * may wish to use @limit to avoid locking up your UI on large
  * buffers.
  *
+ * @match_start will never be set to a #GtkTextIter located before @iter, even if
+ * there is a possible @match_end after or at @iter.
+ *
  * Returns: whether a match was found
  **/
 gboolean
@@ -5180,7 +5183,10 @@ lines_window_free (LinesWindow *win)
  *
  * Same as gtk_text_iter_forward_search(), but moves backward.
  *
- * Return value: whether a match was found
+ * @match_end will never be set to a #GtkTextIter located after @iter, even if
+ * there is a possible @match_start before or at @iter.
+ *
+ * Returns: whether a match was found
  **/
 gboolean
 gtk_text_iter_backward_search (const GtkTextIter *iter,